This WDEF implements a window that is similar to the default appearance of Copland style windows. Drop the extension into your Extensions folder and restart to enjoy the look of Copland windows today!
Scott Fenton
Vicious Software
sfenton@together.net
Notes
Copland windows have an additional gadget in the title bar along with the familiar close box and zoom box, there is now another box that supposedly toggles WindowShade-like behavior. Since WindowShade can be activated now by double/triple clicking in the title bar, I chose instead to activate a 'Drawer-like' behavior which windows will receive under Copland. Well, trying to do this from within the WDEF has proved tricky and the current method is pretty flaky. I was going to remove this behavior before I uploaded this WDEF, but since it has already been leaked with this functionality (disfunctionality?), I have decided to leave it there for now.
Bugs
-Drawer behavior is buggy and some applications don't like it. Avoid using it.
-Tracking the 'Shade' gadget is buggy. Windows are not supposed to track hits themselves, only report where they were hit, so it doesn't quite work as you would expect when clicking into the Zoom box and then dragging into the Shade box.
-The 'grow icon' in the lower right corner is drawn in some windows when it should not be. This is due to the problem of having to draw the new grow icon disabled. The old grow icon simply did not draw when it was disabled, it just got erased in the window content refresh, so a WDEF message is not passed in the case. The new grow icon must get drawn in an inactive window, and so I draw it during the WDEF draw message for certain window types. This works for many windows, but alas not all. I'm working on it!
-Conflicts with Now FolderMenus and WunderBar prevent their operation when the WDEF is loaded. I'm looking at resolving this.
1.0d13
-Default zoom state on multiple monitor systems is better.
-Command clicking in an unhilited window now works.
1.0d12
-Fixes bugs introduced in version d11
-The grow icon is back to being drawn using the d10 method.
-Caps Lock key no longer disables the WDEF.
1.0d11
-The gadgets and grow icon more closely resemble the Copland window parts.
-Improved WindowShade compatibility.
-The title bar is one pixel taller.
-The grow icon is drawn only when the window has a 'Zoom' box. This may cause
some windows that normally have a grow icon, to not have one now.
-Doing a 'Close All' (cmd-opt-w) in the Finder should not crash any more when there is a drawer open.
-New icon graphic for the INIT.
1.0d10
-Clicks on the 'Shade' gadget and drawers are handled better.
-Spacing for the title bar icon and text has been tweaked.
-The grow icon is drawn using a darker gray for improved visiblity.
1.0d9
-The 'Zoom' and 'Shade' gadgets have been swapped for QuicKeys compatibility.
-Draws a folder icon in the title bar for 'zoomable' Finder windows.
-Fixed some disabled title bar drawing/clipping bugs.
You may freely copy and distribute this software, providing that the only charges levied are reasonable distribution costs. This software may not be included in any commercial software collection sold for profit, nor may it be bundled with any commercial software, books, CD-ROMs, or other media without the prior consent of the author. When redistributing this software, this documentation must accompany the software in their original form.
By using this software, you agree to absolve Scott Fenton, and Vicious Software, from any liability to data loss or other problems caused directly or indirectly by any part of this software. If you can not agree, don't use it.